<template>
  <view class="empty" v-else>
    <view class="nologin">
      <image src="../../static/svg/nologin.svg"></image>
    </view>
    <view class="tips">
      暂未登录 <text @click="goLogin">立即登录</text>
    </view>
  </view>
</template>

<script>
  export default {
    name: "NoLogin",
    data() {
      return {

      };
    },
    methods: {
      goLogin() {
        uni.navigateTo({
          url: '/pages/login/login'
        })
      }
    }
  }
</script>

<style lang="scss" scoped>
  .empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #aaa;
    padding-top: 200rpx;

    .tips {
      font-size: 26rpx;

      text {
        color: #0c34ba;
        margin-left: 10rpx;
      }
    }
  }
</style>
